<?php
/*
	监听电商客订单状态变更事件
*/
defined('BY_JYA') or exit('error');
$order=$event;
if(!$order['wxapp_id']){
	return;
}
$basic=$this->plugin_setting('basic');
if(!$basic['isopen']){
	return;
}
$this->model('wxapp_api',$order['wxapp_id'])->fahuo($order);
